<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'qq.jsp' starting page</title>
    
    <script type="text/javascript">
    function getWeather(){
    	var url="http://weather.news.qq.com/inc/ss127.htm";
    	var weather=document.getElementById("weather");
    	alert(weather.innerText);
    }
    
    </script>

  </head>
  
  <body onload="getWeather();" >
    
    
    <iframe  
    id='weather' width='190' height='165' align='center' marginwidth='0'  
    marginheight='0' hspace='0' vapace='0' frameborder='0' scrolling='no'  
    src='http://weather.qq.com/inc/ss144.htm'></iframe>
  </body>
</html>
